package c1759;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.Scanner;
 
public class B {
 
	public static void main(String[] args) {
		//Scanner cin=new Scanner(System.in);
		Scanner cin=null;
		try {
			cin = new Scanner(new FileInputStream("test.in"));
		} catch (FileNotFoundException e) {
			cin=new Scanner(System.in);
		}
		while(cin.hasNext()) {
			int a=cin.nextInt();
			int b=cin.nextInt();
			System.out.println(a+b);
		}
	}
	
}